package cn.iocoder.yudao.module.scrm.controller.admin.schedules.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 排期访客分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SchedulesVisitorPageReqVO extends PageParam {

    @Schema(description = "姓名", example = "李四")
    private String name;

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "企业")
    private String enterprise;

    /**
     * 邀约人姓名
     */
    @Schema(description = "邀约人姓名")
    private String inviter;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "排期ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "6350")
    private Long schedulesId;

    private String creator;
}